package cn.tedu.project.oa.note.mapper;

import cn.tedu.project.oa.note.pojo.dto.NoteQuery;
import cn.tedu.project.oa.note.pojo.entity.Note;
import cn.tedu.project.oa.note.pojo.vo.NoteVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NoteMapper {
    List<NoteVO> selectList(NoteQuery noteQuery);


    NoteVO selectById(Long id);

    void insert(Note note);

    void deleteById(Long id);

    Integer selectCount(NoteQuery noteQuery);
}
